import java.util.Scanner;
import java.io.*;

class Test {
	public static void main(String[] args) throws IOException {
		String str="abc,,def,,,ghij,klmn,,,,opqr,,,,,,,,,,,stuvwxyz";
		try(
			Scanner s=new Scanner(str);
			PrintWriter w=new PrintWriter(System.out);
		) {
			s.useDelimiter(",+");
			while(s.hasNext()) {
				w.println(s.next());
			}
		}
	}
}
